- 
                Notifications
    
You must be signed in to change notification settings  - Fork 1.5k
 
DEV: Remove ignore Ruff rule RET503 #3209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
RET503: Missing explicit "return" at the end of function able to return non-"None" value.
RET503: Missing explicit "return" at the end of function able to return non-"None" value.
RET503: Missing explicit "return" at the end of function able to return non-"None" value.
RET503: Missing explicit "return" at the end of function able to return non-"None" value.
          Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@            Coverage Diff             @@
##             main    #3209      +/-   ##
==========================================
- Coverage   97.09%   97.08%   -0.01%     
==========================================
  Files          56       56              
  Lines        9681     9687       +6     
  Branches     1753     1754       +1     
==========================================
+ Hits         9400     9405       +5     
- Misses        168      169       +1     
  Partials      113      113              ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
  | 
    
RET503: Missing explicit "return" at the end of function able to return non-"None" value.
RET503: Missing explicit "return" at the end of function able to return non-"None" value.
RET503: Missing explicit "return" at the end of function able to return non-"None" value.
RET503: Missing explicit "return" at the end of function able to return non-"None" value.
RET503: Missing explicit "return" at the end of function able to return non-"None" value.
| 
           @stefan6419846 could you fix the two Ruff errors (2 fixable with the   | 
    
          
 Just use   | 
    
Updated test cases for find_outline_item method.
Remove redundant return statement in get_next method.
| 
           @stefan6419846 the   | 
    
| 
           I guess   | 
    
| 
           I have marked it as   | 
    
RET503: Missing explicit "return" at the end of function able to return non-"None" value.